import ax from "@/utils/axios";

export const _categoryList = params =>ax.get("/admin/category/categoryList", {params}); // 分类列表
export const _editCategory = params =>
  ax.post(params.category_id ? "/admin/category/categorySave" : "/admin/category/categoryAdd", params); // 编辑/创建
